package com.cn.qtms;//类注释设置模板

import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * @Name:OrderApplication
 * @Description:
 * @Author: zhangyang
 * @Date: 2019-11-21 14:50
 **/
@SpringBootApplication
@EnableEurekaClient
/**
 * eureka client
 */
@EnableDiscoveryClient
/**
 * 缓存
 */
@EnableCaching
/**
 * feign调用
 */
@EnableFeignClients
/**
 * 分布式事务处理-lcn
 */
@EnableDistributedTransaction
/**
 *@Author: zhangyang
 */
public class OrderApplication  {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
    }
}
